/**
 * Created by yuwq on 22/5/9.
 */
 import send from '../http'
 export default {
   /**
    * 查询ip限制
    * @param data
    * @returns {*}
    */
   queryIpConfig (data) {
     let req = {
       data: data,
       action: 'app.webchat.getImLimitLevel'
     }
     return send.fetch(req, 'post')
   },
   /**
    * 更改限制
    * @param data
    * @returns {*}
    */
   updateImLimitLevel (data) {
     let req = {
       data: data,
       action: 'app.webchat.updateImLimitLevel'
     }
     return send.fetch(req, 'post')
   }
 }
